<!DOCTYPE html>
<html style="height: 100%">
   <head>
       <meta charset="utf-8">
   </head>
   <body style="height: 100%; margin: 0">
       <div id="container" style="height: 100%"></div>
       <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts/dist/echarts.min.js"></script>
       <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-gl/dist/echarts-gl.min.js"></script>
       <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-stat/dist/ecStat.min.js"></script>
       <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts/dist/extension/dataTool.min.js"></script>
       <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts/map/js/china.js"></script>
       <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts/map/js/world.js"></script>
       <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=xfhhaTThl11qYVrqLZii6w8qE5ggnhrY&__ec_v__=20190126"></script>
       <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts/dist/extension/bmap.min.js"></script>
       <script type="text/javascript">
var dom = document.getElementById("container");
var myChart = echarts.init(dom);
var app = {};
option = null;
		var geoCoordMap = {	
			"Angola":[17.87,-11.20],
"Afghanistan":[67.71,33.94],
"Albania":[20.17,41.15],
"Algeria":[1.66,28.03],
"Andorra":[1.52,42.51],
"Anguilla":[-63.07,18.22],
"Argentina":[-63.62,-38.42],
"Armenia":[45.04,40.07],
"Ascension":[-90.94,30.20],
"Australia":[133.78,-25.27],
"Austria":[14.55,47.52],
"Azerbaijan":[47.58,40.14],
"Bahamas":[-77.40,25.03],
"Bahrain":[50.56,26.07],
"Bangladesh":[90.36,23.68],
"Barbados":[-59.54,13.19],
"Belarus":[27.95,53.71],
"Belgium":[4.47,50.50],
"Belize":[-88.50,17.19],
"Benin":[2.32,9.31],
"Bermuda Is":[-64.75,32.31],
"Bolivia":[-63.59,-16.29],
"Botswana":[24.68,-22.33],
"Brazil":[-51.93,-14.24],
"Brunei":[114.73,4.54],
"Bulgaria":[25.49,42.73],
"Burkina-faso":[-1.56,12.24],
"Burma":[95.96,21.92],
"Burundi":[29.92,-3.37],
"Cameroon":[12.35,7.37],
"Canada":[-106.35,56.13],
"Cayman Is":[-117.64,33.64],
"Central African Republic":[20.94,6.61],
"Chad":[18.73,15.45],
"Chile":[-71.54,-35.68],
"China":[104.20,35.86],
"Colombia":[-74.30,4.57],
"Congo":[15.83,-0.23],
"Cook Is":[-90.49,47.61],
"Costa Rica":[-83.75,9.75],
"Croatia":[15.2,45.1],
"Cuba":[-77.78,21.52],
"Cyprus":[33.43,35.13],
"Czech Republic":[15.47,49.82],
"Denmark":[9.50,56.26],
"Djibouti":[42.59,11.83],
"Dominica Rep":[-0.19,51.52],
"Ecuador":[-78.18,-1.83],
"Egypt":[30.80,26.82],
"EI Salvador":[-88.90,13.79],
"Estonia":[25.01,58.60],
"Ethiopia":[40.49,9.15],
"Fiji":[178.07,-17.71],
"Finland":[25.75,61.92],
"France":[2.21,46.23],
"French Guiana":[-53.13,3.93],
"Gabon":[11.61,-0.80],
"Gambia":[-15.31,13.44],
"Georgia":[-82.90,32.17],
"Germany":[10.45,51.17],
"Ghana":[-1.02,7.95],
"Gibraltar":[-5.35,36.14],
"Greece":[21.82,39.07],
"Grenada":[-61.68,12.12],
"Guam":[144.79,13.44],
"Guatemala":[-90.23,15.78],
"Guinea":[-9.70,9.95],
"Guyana":[-58.93,4.86],
"Haiti":[-72.29,18.97],
"Honduras":[-86.24,15.20],
"Hong Kong":[114.11,22.40],
"Hungary":[19.50,47.16],
"Iceland":[-19.02,64.96],
"India":[78.96,20.59],
"Indonesia":[113.92,-0.79],
"Iran":[53.69,32.43],
"Iraq":[43.68,33.22],
"Ireland":[-8.24,53.41],
"Israel":[34.85,31.05],
"Italy":[12.57,41.87],
"Ivory Coast":[-5.55,7.54],
"Jamaica":[-77.30,18.11],
"Japan":[138.25,36.20],
"Jordan":[36.24,30.59],
"Kampuchea":[105.46,12.00],
"Kazakstan":[66.92,48.02],
"Kenya":[37.91,-0.02],
"Korea":[127.98,37.66],
"Kuwait":[47.48,29.31],
"Kyrgyzstan":[74.77,41.20],
"Laos":[102.50,19.86],
"Latvia":[24.60,56.88],
"Lebanon":[35.86,33.85],
"Lesotho":[28.23,-29.61],
"Liberia":[-9.43,6.43],
"Libya":[17.23,26.34],
"Liechtenstein":[9.56,47.17],
"Lithuania":[23.88,55.17],
"Luxembourg":[6.13,49.82],
"Macao":[113.54,22.20],
"Madagascar":[46.87,-18.77],
"Malawi":[34.30,-13.25],
"Malaysia":[101.98,4.21],
"Maldives":[73.54,1.98],
"Mali":[-4.00,17.57],
"Malta":[14.38,35.94],
"Mariana Is":[-43.41,-20.37],
"Martinique":[-61.02,14.64],
"Mauritius":[57.55,-20.35],
"Mexico":[-102.55,23.63],
"Monaco":[7.42,43.74],
"Mongolia":[103.85,46.86],
"Montserrat Is":[-62.19,16.74],
"Morocco":[-7.09,31.79],
"Mozambique":[35.53,-18.67],
"Namibia":[18.49,-22.96],
"Nauru":[166.93,-0.52],
"Nepal":[84.12,28.39],
"Netheriands Antilles":[-68.26,12.20],
"Netherlands":[5.29,52.13],
"New Zealand":[174.89,-40.90],
"Nicaragua":[-85.21,12.87],
"Niger":[8.08,17.61],
"Nigeria":[8.68,9.08],
"North Korea":[127.51,40.34],
"Norway":[8.47,60.47],
"Oman":[55.98,21.47],
"Pakistan":[69.35,30.38],
"Panama":[-80.78,8.54],
"Papua New Cuinea":[143.96,-6.31],
"Paraguay":[-58.44,-23.44],
"Peru":[-75.02,-9.19],
"Philippines":[121.77,12.88],
"Poland":[19.15,51.92],
"French Polynesia":[-149.41,-17.68],
"Portugal":[-8.22,39.40],
"Puerto Rico":[-66.59,18.22],
"Qatar":[51.18,25.35],
"Reunion":[55.54,-21.12],
"Romania":[24.97,45.94],
"Russia":[105.32,61.52],
"Saint Lueia":[-60.98,13.91],
"Saint Vincent":[7.64,45.75],
"Samoa Eastern":[-121.83,37.35],
"Samoa Western":[-124.15,40.80],
"San Marino":[12.46,43.94],
"Sao Tome and Principe":[6.61,0.19],
"Saudi Arabia":[45.08,23.89],
"Senegal":[-14.45,14.50],
"Seychelles":[55.49,-4.68],
"Sierra Leone":[-11.78,8.46],
"Singapore":[103.82,1.35],
"Slovakia":[19.70,48.67],
"Slovenia":[15.00,46.15],
"Solomon Is":[-97.37,38.92],
"Somali":[46.20,5.15],
"South Africa":[22.94,-30.56],
"Spain":[-3.75,40.46],
"Sri Lanka":[80.77,7.87],
"St.Lucia":[-60.98,13.91],
"St.Vincent":[-91.06,29.99],
"Sudan":[30.22,12.86],
"Suriname":[-56.03,3.92],
"Swaziland":[31.47,-26.52],
"Sweden":[18.64,60.13],
"Switzerland":[8.23,46.82],
"Syria":[39.00,34.80],
"Taiwan":[120.96,23.70],
"Tajikstan":[71.28,38.86],
"Tanzania": [34.89, -6.37],
"Thailand": [100.99, 15.87],
"Togo": [0.82, 8.62],
"Tonga": [-175.20, -21.18],
"Trinidad and Tobago": [-61.22, 10.69],
"Tunisia": [9.54, 33.89],
"Turkey": [35.24, 38.96],
"Turkmenistan": [59.56, 38.97],
"Uganda": [32.29, 1.37],
"Ukraine": [31.17, 48.38],
"United Arab Emirates": [53.85, 23.42],
"United Kingdom": [-3.44, 55.38],
"United States": [-95.71, 37.09],
"Uruguay": [-55.77, -32.52],
"Uzbekistan": [64.59, 41.38],
"Venezuela": [-66.59, 6.42],
"Vietnam": [108.28, 14.06],
"Yemen": [48.52, 15.55],
"Yugoslavia": [121.02, 14.48],
"Zimbabwe": [29.15, -19.02],
"Zaire": [21.76, -4.04],
"Zambia": [27.85, -13.13]
		};

		var data = [{
				name: 'Afghanistan',
				value: 28397.812
			},
			{
				name: 'Angola',
				value: 19549.124
			},
			{
				name: 'Albania',
				value: 3150.143
			},
			{
				name: 'United Arab Emirates',
				value: 8441.537
			},
			{
				name: 'Argentina',
				value: 40374.224
			},
			{
				name: 'Armenia',
				value: 2963.496
			},
			{
				name: 'French Southern and Antarctic Lands',
				value: 268.065
			},
			{
				name: 'Australia',
				value: 22404.488
			},
			{
				name: 'Austria',
				value: 8401.924
			},
			{
				name: 'Azerbaijan',
				value: 9094.718
			},
			{
				name: 'Burundi',
				value: 9232.753
			},
			{
				name: 'Belgium',
				value: 10941.288
			},
			{
				name: 'Benin',
				value: 9509.798
			},
			{
				name: 'Burkina Faso',
				value: 15540.284
			},
			{
				name: 'Bangladesh',
				value: 151125.475
			},
			{
				name: 'Bulgaria',
				value: 7389.175
			},
			{
				name: 'The Bahamas',
				value: 66402.316
			},
			{
				name: 'Bosnia and Herzegovina',
				value: 3845.929
			},
			{
				name: 'Belarus',
				value: 9491.07
			},
			{
				name: 'Belize',
				value: 308.595
			},
			{
				name: 'Bermuda',
				value: 64.951
			},
			{
				name: 'Bolivia',
				value: 716.939
			},
			{
				name: 'Brazil',
				value: 195210.154
			},
			{
				name: 'Brunei',
				value: 27.223
			},
			{
				name: 'Bhutan',
				value: 716.939
			},
			{
				name: 'Botswana',
				value: 1969.341
			},
			{
				name: 'Central African Republic',
				value: 4349.921
			},
			{
				name: 'Canada',
				value: 34126.24
			},
			{
				name: 'Switzerland',
				value: 7830.534
			},
			{
				name: 'Chile',
				value: 17150.76
			},
			{
				name: 'China',
				value: 1359821.465
			},
			{
				name: 'Ivory Coast',
				value: 60508.978
			},
			{
				name: 'Cameroon',
				value: 20624.343
			},
			{
				name: 'Democratic Republic of the Congo',
				value: 62191.161
			},
			{
				name: 'Republic of the Congo',
				value: 3573.024
			},
			{
				name: 'Colombia',
				value: 46444.798
			},
			{
				name: 'Costa Rica',
				value: 4669.685
			},
			{
				name: 'Cuba',
				value: 11281.768
			},
			{
				name: 'Northern Cyprus',
				value: 1.468
			},
			{
				name: 'Cyprus',
				value: 1103.685
			},
			{
				name: 'Czech Republic',
				value: 10553.701
			},
			{
				name: 'Germany',
				value: 83017.404
			},
			{
				name: 'Djibouti',
				value: 834.036
			},
			{
				name: 'Denmark',
				value: 5550.959
			},
			{
				name: 'Dominican Republic',
				value: 10016.797
			},
			{
				name: 'Algeria',
				value: 37062.82
			},
			{
				name: 'Ecuador',
				value: 15001.072
			},
			{
				name: 'Egypt',
				value: 78075.705
			},
			{
				name: 'Eritrea',
				value: 5741.159
			},
			{
				name: 'Spain',
				value: 46182.038
			},
			{
				name: 'Estonia',
				value: 1298.533
			},
			{
				name: 'Ethiopia',
				value: 87095.281
			},
			{
				name: 'Finland',
				value: 5367.693
			},
			{
				name: 'Fiji',
				value: 860.559
			},
			{
				name: 'Falkland Islands',
				value: 49.581
			},
			{
				name: 'France',
				value: 63230.866
			},
			{
				name: 'Gabon',
				value: 1556.222
			},
			{
				name: 'United Kingdom',
				value: 62066.35
			},
			{
				name: 'Georgia',
				value: 4388.674
			},
			{
				name: 'Ghana',
				value: 24262.901
			},
			{
				name: 'Guinea',
				value: 10876.033
			},
			{
				name: 'Gambia',
				value: 1680.64
			},
			{
				name: 'Guinea Bissau',
				value: 10876.033
			},
			{
				name: 'Equatorial Guinea',
				value: 696.167
			},
			{
				name: 'Greece',
				value: 11109.999
			},
			{
				name: 'Greenland',
				value: 56.546
			},
			{
				name: 'Guatemala',
				value: 14341.576
			},
			{
				name: 'French Guiana',
				value: 231.169
			},
			{
				name: 'Guyana',
				value: 786.126
			},
			{
				name: 'Honduras',
				value: 7621.204
			},
			{
				name: 'Croatia',
				value: 4338.027
			},
			{
				name: 'Haiti',
				value: 9896.4
			},
			{
				name: 'Hungary',
				value: 10014.633
			},
			{
				name: 'Indonesia',
				value: 240676.485
			},
			{
				name: 'India',
				value: 1205624.648
			},
			{
				name: 'Ireland',
				value: 4467.561
			},
			{
				name: 'Iran',
				value: 240676.485
			},
			{
				name: 'Iraq',
				value: 30962.38
			},
			{
				name: 'Iceland',
				value: 318.042
			},
			{
				name: 'Israel',
				value: 7420.368
			},
			{
				name: 'Italy',
				value: 60508.978
			},
			{
				name: 'Jamaica',
				value: 2741.485
			},
			{
				name: 'Jordan',
				value: 6454.554
			},
			{
				name: 'Japan',
				value: 127352.833
			},
			{
				name: 'Kazakhstan',
				value: 15921.127
			},
			{
				name: 'Kenya',
				value: 40909.194
			},
			{
				name: 'Kyrgyzstan',
				value: 5334.223
			},
			{
				name: 'Cambodia',
				value: 14364.931
			},
			{
				name: 'South Korea',
				value: 51452.352
			},
			{
				name: 'Kosovo',
				value: 97.743
			},
			{
				name: 'Kuwait',
				value: 2991.58
			},
			{
				name: 'Laos',
				value: 6395.713
			},
			{
				name: 'Lebanon',
				value: 4341.092
			},
			{
				name: 'Liberia',
				value: 3957.99
			},
			{
				name: 'Libya',
				value: 6040.612
			},
			{
				name: 'Sri Lanka',
				value: 20758.779
			},
			{
				name: 'Lesotho',
				value: 2008.921
			},
			{
				name: 'Lithuania',
				value: 3068.457
			},
			{
				name: 'Luxembourg',
				value: 507.885
			},
			{
				name: 'Latvia',
				value: 2090.519
			},
			{
				name: 'Morocco',
				value: 31642.36
			},
			{
				name: 'Moldova',
				value: 103.619
			},
			{
				name: 'Madagascar',
				value: 21079.532
			},
			{
				name: 'Mexico',
				value: 117886.404
			},
			{
				name: 'Macedonia',
				value: 507.885
			},
			{
				name: 'Mali',
				value: 13985.961
			},
			{
				name: 'Myanmar',
				value: 51931.231
			},
			{
				name: 'Montenegro',
				value: 620.078
			},
			{
				name: 'Mongolia',
				value: 2712.738
			},
			{
				name: 'Mozambique',
				value: 23967.265
			},
			{
				name: 'Mauritania',
				value: 3609.42
			},
			{
				name: 'Malawi',
				value: 15013.694
			},
			{
				name: 'Malaysia',
				value: 28275.835
			},
			{
				name: 'Namibia',
				value: 2178.967
			},
			{
				name: 'New Caledonia',
				value: 246.379
			},
			{
				name: 'Niger',
				value: 15893.746
			},
			{
				name: 'Nigeria',
				value: 159707.78
			},
			{
				name: 'Nicaragua',
				value: 5822.209
			},
			{
				name: 'Netherlands',
				value: 16615.243
			},
			{
				name: 'Norway',
				value: 4891.251
			},
			{
				name: 'Nepal',
				value: 26846.016
			},
			{
				name: 'New Zealand',
				value: 4368.136
			},
			{
				name: 'Oman',
				value: 2802.768
			},
			{
				name: 'Pakistan',
				value: 173149.306
			},
			{
				name: 'Panama',
				value: 3678.128
			},
			{
				name: 'Peru',
				value: 29262.83
			},
			{
				name: 'Philippines',
				value: 93444.322
			},
			{
				name: 'Papua New Guinea',
				value: 6858.945
			},
			{
				name: 'Poland',
				value: 38198.754
			},
			{
				name: 'Puerto Rico',
				value: 3709.671
			},
			{
				name: 'North Korea',
				value: 1.468
			},
			{
				name: 'Portugal',
				value: 10589.792
			},
			{
				name: 'Paraguay',
				value: 6459.721
			},
			{
				name: 'Qatar',
				value: 1749.713
			},
			{
				name: 'Romania',
				value: 21861.476
			},
			{
				name: 'Russia',
				value: 21861.476
			},
			{
				name: 'Rwanda',
				value: 10836.732
			},
			{
				name: 'Western Sahara',
				value: 514.648
			},
			{
				name: 'Saudi Arabia',
				value: 27258.387
			},
			{
				name: 'Sudan',
				value: 35652.002
			},
			{
				name: 'South Sudan',
				value: 9940.929
			},
			{
				name: 'Senegal',
				value: 12950.564
			},
			{
				name: 'Solomon Islands',
				value: 526.447
			},
			{
				name: 'Sierra Leone',
				value: 5751.976
			},
			{
				name: 'El Salvador',
				value: 6218.195
			},
			{
				name: 'Somaliland',
				value: 9636.173
			},
			{
				name: 'Somalia',
				value: 9636.173
			},
			{
				name: 'Republic of Serbia',
				value: 3573.024
			},
			{
				name: 'Suriname',
				value: 524.96
			},
			{
				name: 'Slovakia',
				value: 5433.437
			},
			{
				name: 'Slovenia',
				value: 2054.232
			},
			{
				name: 'Sweden',
				value: 9382.297
			},
			{
				name: 'Swaziland',
				value: 1193.148
			},
			{
				name: 'Syria',
				value: 7830.534
			},
			{
				name: 'Chad',
				value: 11720.781
			},
			{
				name: 'Togo',
				value: 6306.014
			},
			{
				name: 'Thailand',
				value: 66402.316
			},
			{
				name: 'Tajikistan',
				value: 7627.326
			},
			{
				name: 'Turkmenistan',
				value: 5041.995
			},
			{
				name: 'East Timor',
				value: 10016.797
			},
			{
				name: 'Trinidad and Tobago',
				value: 1328.095
			},
			{
				name: 'Tunisia',
				value: 10631.83
			},
			{
				name: 'Turkey',
				value: 72137.546
			},
			{
				name: 'United Republic of Tanzania',
				value: 44973.33
			},
			{
				name: 'Uganda',
				value: 33987.213
			},
			{
				name: 'Ukraine',
				value: 46050.22
			},
			{
				name: 'Uruguay',
				value: 3371.982
			},
			{
				name: 'United States of America',
				value: 312247.116
			},
			{
				name: 'Uzbekistan',
				value: 27769.27
			},
			{
				name: 'Venezuela',
				value: 236.299
			},
			{
				name: 'Vietnam',
				value: 89047.397
			},
			{
				name: 'Vanuatu',
				value: 236.299
			},
			{
				name: 'West Bank',
				value: 13.565
			},
			{
				name: 'Yemen',
				value: 22763.008
			},
			{
				name: 'South Africa',
				value: 51452.352
			},
			{
				name: 'Zambia',
				value: 13216.985
			},
			{
				name: 'Zimbabwe',
				value: 13076.978
			}
		];


		var convertData = function(data) {
			var res = [];
			for (var i = 0; i < data.length; i++) {
				var geoCoord = geoCoordMap[data[i].name];
				if (geoCoord) {
					res.push({
						name: data[i].name,
						value: geoCoord.concat(data[i].value)
					});
				}
			}
			return res;
		};
		option = {
			title: {
				sublink: 'http://esa.un.org/wpp/Excel-Data/population.htm',
				left: 'center',
				top: 'top'
			},
			tooltip: {
				trigger: 'item',
				formatter: function(params) {
					var value = (params.value + '').split('.');
					value = value[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g, '$1,') +
						'.' + value[1];
					return params.seriesName + '<br/>' + params.name + ' : ' + value;
				}
			},
			tooltip: {
				trigger: 'item'
			},
			bmap: {
				center: [104.114129, 37.550339],
				zoom: 5,
				roam: false,
				mapStyle: {
					styleJson: [{
						'featureType': 'water',
						'elementType': 'all',
						'stylers': {
							'color': '#d1d1d1'
						}
					}, {
						'featureType': 'land',
						'elementType': 'all',
						'stylers': {
							'color': '#f3f3f3'
						}
					}, {
						'featureType': 'railway',
						'elementType': 'all',
						'stylers': {
							'visibility': 'off'
						}
					}, {
						'featureType': 'highway',
						'elementType': 'all',
						'stylers': {
							'color': '#fdfdfd'
						}
					}, {
						'featureType': 'highway',
						'elementType': 'labels',
						'stylers': {
							'visibility': 'off'
						}
					}, {
						'featureType': 'arterial',
						'elementType': 'geometry',
						'stylers': {
							'color': '#fefefe'
						}
					}, {
						'featureType': 'arterial',
						'elementType': 'geometry.fill',
						'stylers': {
							'color': '#fefefe'
						}
					}, {
						'featureType': 'poi',
						'elementType': 'all',
						'stylers': {
							'visibility': 'off'
						}
					}, {
						'featureType': 'green',
						'elementType': 'all',
						'stylers': {
							'visibility': 'off'
						}
					}, {
						'featureType': 'subway',
						'elementType': 'all',
						'stylers': {
							'visibility': 'off'
						}
					}, {
						'featureType': 'manmade',
						'elementType': 'all',
						'stylers': {
							'color': '#d1d1d1'
						}
					}, {
						'featureType': 'local',
						'elementType': 'all',
						'stylers': {
							'color': '#d1d1d1'
						}
					}, {
						'featureType': 'arterial',
						'elementType': 'labels',
						'stylers': {
							'visibility': 'off'
						}
					}, {
						'featureType': 'boundary',
						'elementType': 'all',
						'stylers': {
							'color': '#fefefe'
						}
					}, {
						'featureType': 'building',
						'elementType': 'all',
						'stylers': {
							'color': '#d1d1d1'
						}
					}, {
						'featureType': 'label',
						'elementType': 'labels.text.fill',
						'stylers': {
							'color': '#999999'
						}
					}]
				}
			},
			series: [{
					name: '国家:',
					type: 'map',
					mapType: 'world',
					roam: true,
					itemStyle: {
						emphasis: {
							label: {
								show: true
							}
						}
					},
					data: data
				},
				{
					name: 'pm2.5',
					type: 'scatter',
					coordinateSystem: 'bmap',
					data: convertData(data),
					symbolSize: function(val) {
						return 10;
					},
					label: {
						formatter: '{b}',
						position: 'right',
						show: false
					},
					itemStyle: {
						color: 'purple'
					},
					emphasis: {
						label: {
							show: true
						}
					}
				},
				{
					name: 'Top 5',
					type: 'scatter',
					coordinateSystem: 'bmap',
					data: convertData(data.sort(function(a, b) {
						return b.value - a.value;
					}).slice(0, 10)),
					symbolSize: function(val) {
						return 20
					},
					showEffectOn: 'render',
					rippleEffect: {
						brushType: 'stroke'
					},
					hoverAnimation: true,
					label: {
						formatter: '{b}',
						position: 'right',
						show: true
					},
					itemStyle: {
						color: 'purple',
						shadowBlur: 10000,
						shadowColor: '#red'
					},
					zlevel: 10
				}


			]
		};
		myChart.setOption(option);
		
		var that = this;
    myChart.on('click', function (params) {
         alert(`你点击的是${params.name}详情，即将跳转`);
    });
		
		
		;
if (option && typeof option === "object") {
    myChart.setOption(option, true);
}
       </script>
   </body>
</html>